var test = function(){
	
};

test.addMessageCard = function(){
	for(var i=0;i<game.total_player;i++){
		var rand = Math.floor(Math.random()*80)+1;
		uiManager.playerArray[i].addMessageCard(getCard(rand));
	}
};

test.addFunctionCard = function(){
	for(var i=0;i<game.total_player;i++){
		var rand = Math.floor(Math.random()*80)+1;
		uiManager.playerArray[i].addFunctionCard(getCard(rand));
	}
}



test.onLoaded = function(){
	test.addFunctionCard();
	test.addFunctionCard();
	test.addFunctionCard();
	test.addFunctionCard();
	test.addFunctionCard();
	test.addFunctionCard();
	test.addFunctionCard();
	test.addFunctionCard();
	test.addFunctionCard();
	test.addFunctionCard();
	
	test.addMessageCard();
	test.addMessageCard();
	test.addMessageCard();
	test.addMessageCard();
	test.addMessageCard();
	test.addMessageCard();
	test.addMessageCard();
	test.addMessageCard();
	test.addMessageCard();
	test.addMessageCard();
	test.addMessageCard();
};